{BEGIN mainmenu_block}
{BEGIN mainmenustyle_block}
<style class="Vmenu">
#mainmenu_block IMG, #mainmenu_block HR
{
	vertical-align:middle;
		{BEGIN RTL_block}
	margin-left:10px;
	{END RTL_block}
	{BEGIN LTR_block}
	margin-right:10px;
	{END LTR_block}
}
#mainmenu_block img.spacer
{
	{BEGIN RTL_block}
	margin-left:0px;
	{END RTL_block}
	{BEGIN LTR_block}
	margin-right:0px;
	{END LTR_block}
}
#menu_block{$id}, #tables_block{{BEGIN RTL_block}text-align:right;{END RTL_block}} 
/* For Vmenu1 on the list page */
#mainmenu_block {width:200px;}
#menu_block{$id}, #tables_block{padding:10px 0;} 
{BEGIN RTL_block}
.Vmenu1 {text-align:right;}
{END RTL_block}
.Vmenu1 ul, .Vmenu1 ul li{list-style:none;margin:0;padding:0px;}
.Vmenu1 ul li {padding:5px 10px;z-index:1;display:block;width:auto;}
.Vmenu1 ul li ul{display:none;position:absolute;top:0px;z-index:2;}
.Vmenu1 ul li ul li{white-space:nowrap;}
</style>
{END mainmenustyle_block}
<div id="mainmenu_block" class="Vmenu1">

<ul>
	{BEGIN item1_menulink}
	<li id="li1" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item1_menulink_attrs} class='{BEGIN item1_current}highlight-tablesearch current{END item1_current}{BEGIN item1_notcurrent}tablelinkssearch{END item1_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item1_current}2{END item1_current}.gif' border="0">{$item1_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item1_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item1_title}</a>
{END notneedcurrent_item}




	</li>
	{END item1_menulink}
	{BEGIN item2_menulink}
	<li id="li2" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item2_menulink_attrs} class='{BEGIN item2_current}highlight-tablesearch current{END item2_current}{BEGIN item2_notcurrent}tablelinkssearch{END item2_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item2_current}2{END item2_current}.gif' border="0">{$item2_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item2_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item2_title}</a>
{END notneedcurrent_item}




	</li>
	{END item2_menulink}
	{BEGIN item3_menulink}
	<li id="li3" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item3_menulink_attrs} class='{BEGIN item3_current}highlight-tablesearch current{END item3_current}{BEGIN item3_notcurrent}tablelinkssearch{END item3_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item3_current}2{END item3_current}.gif' border="0">{$item3_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item3_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item3_title}</a>
{END notneedcurrent_item}




	</li>
	{END item3_menulink}
	{BEGIN item4_menulink}
	<li id="li4" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item4_menulink_attrs} class='{BEGIN item4_current}highlight-tablesearch current{END item4_current}{BEGIN item4_notcurrent}tablelinkssearch{END item4_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item4_current}2{END item4_current}.gif' border="0">{$item4_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item4_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item4_title}</a>
{END notneedcurrent_item}




	</li>
	{END item4_menulink}
	{BEGIN item5_menulink}
	<li id="li5" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item5_menulink_attrs} class='{BEGIN item5_current}highlight-tablesearch current{END item5_current}{BEGIN item5_notcurrent}tablelinkssearch{END item5_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item5_current}2{END item5_current}.gif' border="0">{$item5_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item5_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item5_title}</a>
{END notneedcurrent_item}




	</li>
	{END item5_menulink}
	{BEGIN item6_menulink}
	<li id="li6" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item6_menulink_attrs} class='{BEGIN item6_current}highlight-tablesearch current{END item6_current}{BEGIN item6_notcurrent}tablelinkssearch{END item6_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item6_current}2{END item6_current}.gif' border="0">{$item6_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item6_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item6_title}</a>
{END notneedcurrent_item}




	</li>
	{END item6_menulink}
	{BEGIN item7_menulink}
	<li id="li7" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item7_menulink_attrs} class='{BEGIN item7_current}highlight-tablesearch current{END item7_current}{BEGIN item7_notcurrent}tablelinkssearch{END item7_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item7_current}2{END item7_current}.gif' border="0">{$item7_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item7_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item7_title}</a>
{END notneedcurrent_item}




	</li>
	{END item7_menulink}
	{BEGIN item8_menulink}
	<li id="li8" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item8_menulink_attrs} class='{BEGIN item8_current}highlight-tablesearch current{END item8_current}{BEGIN item8_notcurrent}tablelinkssearch{END item8_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item8_current}2{END item8_current}.gif' border="0">{$item8_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item8_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item8_title}</a>
{END notneedcurrent_item}




	</li>
	{END item8_menulink}
	{BEGIN item9_menulink}
	<li id="li9" view="topitem" >
	
{BEGIN needcurrent_item}
<a {$item9_menulink_attrs} class='{BEGIN item9_current}highlight-tablesearch current{END item9_current}{BEGIN item9_notcurrent}tablelinkssearch{END item9_notcurrent}' ><img alt="*" src='include/img/arrow_search{BEGIN item9_current}2{END item9_current}.gif' border="0">{$item9_title}</a>
{END needcurrent_item}
{BEGIN notneedcurrent_item}
<a {$item9_menulink_attrs} class="tablelinks"><img alt="*" src="include/img/arrow_search.gif" border=0>{$item9_title}</a>
{END notneedcurrent_item}




	</li>
	{END item9_menulink}
</ul>
</div>
{END mainmenu_block}
